<?php
// +----------------------------------------------------------------------
// | Author: Stupboy King
// +----------------------------------------------------------------------
namespace app\api\validate;

use think\Validate;

class WithdrawalsRecord extends Validate
{
    // 验证规则
    protected $rule = [
        'driver_id'  => 'require|number',//number price apply_date
        'number'     => 'require',
        'price'      => 'require',
        'card_id'     => 'require',
        'apply_date' => 'require|date',
        'withdrawals_state'=>'require',
    ];
}